package com.spring.util;

/**
 * @author 作者 E-mail: liuyang
 * @date 创建时间：2016年9月9日 下午4:53:45
 * @version 2.0
 * @parameter
 * @since
 * @return
 */

public enum TradeOrderInfoStatus {
	ORDER_NOT_PAY(0, "未支付"), ORDER_PAY(1, "已支付 "), ORDER_START(2, "医生接单"), ORDER_STAY_REFUND(3,
			"待退款 "), ORDER_COMPLETE_REFUND(4, "已退款"), ORDER_EXPIRED(5,
					"已过期 "), ORDER_COMPLETE(6, "已完成"), ORDER_RECORDING(7, "已入账"), ORDER_CLOSE(-1, "已关闭");

	private int value;
	private String name;

	private TradeOrderInfoStatus(int value, String name) {
		this.value = value;
		this.name = name;
	}

	public int getValue() {
		return value;
	}

	public boolean isRest() {
		return false;
	}

	public String getName() {
		return name;
	}

}
